package com.diandi.ddsb.bean;


/**
 * 规则实体
 * 
 * @author ydd
 *
 */
public class Rule extends BaseEntity {
	/**
	 * 外键ID:(活动Id;.........);
	 */
	private Long foreignId;

	/**
	 * 外键类型:(0-活动;.........)
	 */
	private Integer foreignType;

	/**
	 * 投资类型:1-单词投资,2-累计投资(总投资)
	 */
	private Integer investType;

	/**
	 * 可投标类型:0-散标,1-活期宝投资,2-省心计划投资
	 */
	private String borrowTypes;

	/**
	 * 投资金额
	 */
	private Double investAmount;

	/**
	 * 投资次数
	 */
	private Integer investCount;

	/**
	 * 抽奖次数
	 */
	private Integer getPrizeNum;
	/**
	 * 抽空次数
	 */
	private Integer drawEmptyNum;

	/**
	 * 该抽奖设置是否有效(1有效0无效)
	 */
	private Integer status;

	/**
	 * 累计投资是否可叠加(1是，0否)
	 */
	private Integer canAdd;

	/**
	 * 投资金额下限
	 */
	private Double investAmountFrom;

	/**
	 * 投资金额上限
	 */
	private Double investAmountTo;

	public Long getForeignId() {
		return foreignId;
	}

	public void setForeignId(Long foreignId) {
		this.foreignId = foreignId;
	}

	public Integer getForeignType() {
		return foreignType;
	}

	public void setForeignType(Integer foreignType) {
		this.foreignType = foreignType;
	}

	public Integer getInvestType() {
		return investType;
	}

	public void setInvestType(Integer investType) {
		this.investType = investType;
	}

	public String getBorrowTypes() {
		return borrowTypes;
	}

	public void setBorrowTypes(String borrowTypes) {
		this.borrowTypes = borrowTypes;
	}

	public Double getInvestAmount() {
		return investAmount;
	}

	public void setInvestAmount(Double investAmount) {
		this.investAmount = investAmount;
	}

	public Integer getGetPrizeNum() {
		return getPrizeNum;
	}

	public void setGetPrizeNum(Integer getPrizeNum) {
		this.getPrizeNum = getPrizeNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getInvestCount() {
		return investCount;
	}

	public void setInvestCount(Integer investCount) {
		this.investCount = investCount;
	}

	public Integer getCanAdd() {
		return canAdd;
	}

	public void setCanAdd(Integer canAdd) {
		this.canAdd = canAdd;
	}

	public Double getInvestAmountFrom() {
		return investAmountFrom;
	}

	public void setInvestAmountFrom(Double investAmountFrom) {
		this.investAmountFrom = investAmountFrom;
	}

	public Double getInvestAmountTo() {
		return investAmountTo;
	}

	public void setInvestAmountTo(Double investAmountTo) {
		this.investAmountTo = investAmountTo;
	}

	public Integer getDrawEmptyNum() {
		return drawEmptyNum;
	}

	public void setDrawEmptyNum(Integer drawEmptyNum) {
		this.drawEmptyNum = drawEmptyNum;
	}

}
